<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>

         
                    <div class="row">
                        <div class="col-md-12">
                             <div class="box">
                                <div class="box-header with-border">
                                    <h3 class="box-title">翻译属性字段</h3>
                                </div>
                                <div class="box-body">
                                    <?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-create_notice')); ?>                                    
                                    <?php foreach($transform as $k):?>
                                    <div class="col-sm-3">
                                        <div class="form-group">
                                          <?php  echo '<label '._stringify_attributes(array('class' => 'col-sm-5 control-label')).'>'.$k.'</label>';?>
                                            <div class="col-sm-7">
                                                <input type="hidden" name="from[]" value="<?php echo trim($k);?>">
                                                <div class="input-group"> <input type="text" class="form-control input-sm" name="trans[]"> <span class="input-group-addon btn"> <?php echo '<a href="/backend/products/editgoods/'.$transg[$k].'" target="_blank" ><i class="fa fa-external-link "></i></a>';?> </span></div>
                                            </div>
                                        </div>                                        
                                    </div>
                                    <?php endforeach;?>
                                    <div class="row">
                                       <div class="form-group">
                                            <div class="col-sm-offset-1 col-sm-10">
                                                <div class="btn-group">
                                                    <?php echo form_button(array('type' => 'submit', 'class' => 'btn btn-primary btn-flat', 'content' => lang('actions_submit'))); ?>
                                                    <?php echo form_button(array('type' => 'reset', 'class' => 'btn btn-warning btn-flat', 'content' => lang('actions_reset'))); ?>

                                                   
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <?php echo form_close();?>
                                </div>
                            </div>
                         </div>
                    </div>
             
